package com.athuahua.spzx.config;

import lombok.extern.slf4j.Slf4j;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import java.text.SimpleDateFormat;

/**
 * @Author: huahua
 * @Date: 2024/8/6 0006
 * @Time: 16:48
 * @deprecated : 丢弃的类，请使用：DateUtil.format(item.getOrderDate(), "yyyy-MM-dd")
 */
@Configuration
@Slf4j
@Deprecated
public class DateFormatConfiguration {


    @Bean
    public SimpleDateFormat getFormatter() {
        return new SimpleDateFormat("yyyy-MM-dd");
    }
}
